
Partial Class AccessDenied
    Inherits BasePage
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If HttpContext.Current.User.Identity.IsAuthenticated Then
            lblAccessDenied.Visible = True
            lblLoginRequired.Visible = False
        Else
            lblAccessDenied.Visible = False
            lblLoginRequired.Visible = True
        End If
    End Sub

End Class
